

def sum(a, b):
    if getattr(sum, 'has_run', False):
        return

    sum.has_run = True

    return a + b



print("1 {}".format(sum(100, 100)) ) # 👉️ 200

print("2 {}".format(sum(100, 100)) ) # 👉️ None







